package cn.lanqiao.service;

import java.util.List;
import java.util.Map;

import cn.lanqiao.entity.Pages;
import cn.lanqiao.entity.Paper_manage;
/**
 * 题库管理模块
 * @author yejun
 */
public interface Paper_manageService {

	//展示所有数据
	public List<Paper_manage> getAllPaper();
	//分页
	public Pages<Paper_manage> PaperPage( int indexPage , int pageSize , String searchkey);
	//查看详情
	public Map<String,Object> getPaperById(Integer paperId);
	//删除
	public Map<String,Object> deletePaper(Integer paperId);
	//修改
//	public int updateStudent(Student student);
	//添加
	public int insertPaper(Paper_manage paper);
	//查看添加详情
	public Paper_manage insertDetailed(Paper_manage paper);
	//根据试卷科目获取试卷信息
	public List<Paper_manage> getAllBySubject( String subject );
	
}
